package Operation;

import Book.BookList;

public class ShowBook implements IOperation{

    @Override
    public void work(BookList bookList) {
        System.out.println("书架上的所有书:");
        for(int i = 0;i < bookList.getUsedBookList();i ++){
            System.out.println(bookList.GetBook(i).toString());
        }
    }
}
